﻿//------------------------------------------------------------------------------
// 创建标识: Copyright (C) 2010 Socansoft.com 版权所有
// 创建描述: SocanCode代码生成器 V4.3.3.6 自动创建于 2010/4/21 17:07:34
//
// 功能描述: 
//
// 修改标识: 
// 修改描述: 
//------------------------------------------------------------------------------

using System;

namespace OPMS_IBS_2.Model
{
	/// <summary>
	/// 实体类 TimeTableDetail
	/// </summary>
	[Serializable]
	public class TimeTableDetail : ICloneable
	{
		public TimeTableDetail()
		{ }

		/// <summary>
		/// 构造函数 TimeTableDetail
		/// </summary>
		/// <param name="iD">ID</param>
		/// <param name="ownTimeTable">OwnTimeTable</param>
		/// <param name="rowNUM">RowNUM</param>
		/// <param name="colNUM">ColNUM</param>
		/// <param name="content">Content</param>
		/// <param name="ownToken">OwnToken</param>
		/// <param name="ownPart">上下半班标识1. 上半班(正班也标识为1)2. 下半班</param>
		public TimeTableDetail(Guid iD, Guid ownTimeTable, int rowNUM, int colNUM, string content, Guid ownToken, int ownPart)
		{
			_iD = iD;
			_ownTimeTable = ownTimeTable;
			_rowNUM = rowNUM;
			_colNUM = colNUM;
			_content = content;
			_ownToken = ownToken;
			_ownPart = ownPart;
		}

		#region Model

		private Guid _iD;
		private Guid _ownTimeTable;
		private int _rowNUM;
		private int _colNUM;
		private string _content;
		private Guid _ownToken;
		private int _ownPart;
		/// <summary>
		/// ID
		/// </summary>
		public Guid ID
		{
			set { _iD = value; }
			get { return _iD; }
		}
		/// <summary>
		/// OwnTimeTable
		/// </summary>
		public Guid OwnTimeTable
		{
			set { _ownTimeTable = value; }
			get { return _ownTimeTable; }
		}
		/// <summary>
		/// RowNUM
		/// </summary>
		public int RowNUM
		{
			set { _rowNUM = value; }
			get { return _rowNUM; }
		}
		/// <summary>
		/// ColNUM
		/// </summary>
		public int ColNUM
		{
			set { _colNUM = value; }
			get { return _colNUM; }
		}
		/// <summary>
		/// Content
		/// </summary>
		public string Content
		{
			set { _content = value; }
			get { return _content; }
		}
		/// <summary>
		/// OwnToken
		/// </summary>
		public Guid OwnToken
		{
			set { _ownToken = value; }
			get { return _ownToken; }
		}
		/// <summary>
		/// 上下半班标识1. 上半班(正班也标识为1)2. 下半班
		/// </summary>
		public int OwnPart
		{
			set { _ownPart = value; }
			get { return _ownPart; }
		}

		#endregion

		#region ICloneable 成员

		public object Clone()
		{
			return this.MemberwiseClone();
		}

		#endregion
	}
}
